import Vue from 'vue'
import App from './App.vue'

// 移动端适配(第一种方式,引入phone.js)
// import './assets/js/phone';

Vue.config.productionTip = false;

import router from './router'

// 引入vant库
import './plugins/vant'

// 引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper)

// 导入自定义插件echart
import echarts from './plugins/echarts'
Vue.use(echarts);

Vue.prototype.$bus = new Vue();

new Vue({
  render: h => h(App),
  router
}).$mount('#app');
